package com.gene.utils;

/**
 * Created by lenovo on 2018/1/10.
 * MSG错误信息常量类
 */
public class MsgValue {
    public static final String SUCCESS = "成功"; //成功
    public static final String CORREC = "输入正确"; //输入正确
    public static final String USER_EXISTENCE = "用户名已存在"; //用户名已存在
    public static final String USER_PHONE_EXISTENCE = "手机已注册"; //身份证已注册
    public static final String USER_PHONE_NULL = "手机号不能为空"; //手机号不能为空
    public static final String USER_NAME_NULL = "用户名不能为空"; //用户名不能为空
    public static final String USER_PARAMETERS_ISNULL = "参数为空"; //参数为空
    public static final String USER_CODE_ISNULL = "验证码无效"; //验证码无效
    public static final String USER_REGISTER_FAIL = "注册失败"; //注册失败
    public static final String USER_USERNAME_ISNULL= "账号错误"; //账号错误
    public static final String USER_PASSWORD_ISNULL= "密码错误"; //密码错误
    public static final String USER_PASSWORD_FAIL= "修改密码失败"; //修改失败
    public static final String TOKEN_ISNULL= "token无效"; //token无效
    public static final String USER_PHONE = "手机号码格式不正确"; //手机号码格式不正确
    public static final String CORRECT = "输入正确"; //成功
    public static final String USER_PHONE_GIT = "该手机号码对应的用户不存在"; //该手机号码对应的用户不存在

    public static String ENTITY_ISNULL(String EntityName){
        return EntityName+"对象信息为空";
    }
    public static String LIST_ISNULL(String EntityName){
        return EntityName+"集合信息为空";
    }
}
